<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<%@page import="avicit.platform6.core.locale.PlatformLocalesJSTL"%>
<%@page import="java.util.Locale"%>
<%@page import="avicit.platform6.api.session.SessionHelper"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page import="avicit.platform6.commons.utils.ViewUtil"%>
<%@ taglib prefix="sec"
	uri="/WEB-INF/tags/shiro.tld"%>
<html>
<head>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>库结构定义</title>
<base href="<%=ViewUtil.getRequestPath(request)%>">
<%@page import="avicit.platform6.api.sysshirolog.impl.AfterLoginSessionProcess"%>
<%
Object lang=session.getAttribute(AfterLoginSessionProcess.SESSION_CURRENT_LANGUAGE_CODE);
String languageCode="zh_CN";
if(lang!=null){
	languageCode=lang.toString();
}
	Locale locale =SessionHelper.getLocaleByUser(request);
	String currentUserId = SessionHelper.getLoginSysUserId(request);
%>
<jsp:include
	page="/avicit/platform6/component/common/EasyUIJsInclude.jsp"></jsp:include>
<jsp:include page="/avicit/im/common/ImUIJSCSSInclude.jsp"></jsp:include>	
<script type="text/javascript"
	src="avicit/im/lantop/basic/libstructuredefine/LantopArchiveClassManage.js"></script>
<script type="text/javascript"
	src="avicit/im/lantop/basic/libstructuredefine/locale/language_<%=languageCode%>.js"></script>
<link href="static/css/custom/lantop/css/custom.css" type="text/css"  rel="stylesheet">
<script type="text/javascript" src="static/js/platform/index/js/divscroll.js" ></script>
<script type="text/javascript">
</script>
</head>
<script type="text/javascript">
	var baseurl = '<%=request.getContextPath()%>';
	currentUserId = '<%=currentUserId%>';
	$(function () {
		if (navigator.userAgent.indexOf("Chrome") > -1) {} else {
			$(".thin_scroll").perfectScrollbar();
		}
	})
</script>
<body class="easyui-layout" fit="true">
	<%-- 分类树 --%>
	<div id="treeDiv" class="thin_scroll" data-options="region:'west',split:false,title:'<%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.libstructuredefine.classifyTree","i18n.lantop",locale)%>', collapsible: true" style="width: 225px;border-right: 1px solid  #dedede;">
		<ul id="classTree" class="easyui-tree"></ul>
	</div>
	<!-- 树操作按钮 -->
	<!--右键根节点显示菜单 -->
	 <div id="topRootMenu" class="easyui-menu"
		style="width: 120px; display: none">
		<div onclick="openDialog('add');" data-options="iconCls:'icon-im-add'">添加</div>
		 <div class="menu-sep"></div>
		<%-- <div id="syncToSubOrg"  onclick="syncToSubOrg();" iconCls="icon-setting"
			  data-options=" disabled:true">同步至下级组织</div>--%>
	</div>
	<!--右键节点显示菜单 -->
	<div id="rootMenu" class="easyui-menu"
		style="width: 120px; display: none">
		<div id="#m-add" onclick="openDialog('add');" data-options="iconCls:'icon-im-add'">添加</div>
		<div class="menu-sep"></div>
		<div id="#m-delete"  onclick="openDialog('delete');"
			data-options="iconCls:'icon-im-remove'">删除</div>
			<div class="menu-sep"></div>
		<div id="#m-copy"  onclick="openDialog('copy');"
			data-options="iconCls:'icon-im-copy'">复制</div>	
			<div class="menu-sep"></div>
		<div  id="#m-paste"  onclick="openDialog('paste');"
			data-options="iconCls:'icon-im-paste'">粘贴</div>	
			<div class="menu-sep"></div>
		<div id="#m-attribute"  onclick="openDialog('attribute');"
			data-options="iconCls:'icon-im-edit'">属性</div>
		<div class="menu-sep"></div>
		<div id="m-syncToSubOrg"  onclick="syncToSubOrg();" iconCls="icon-setting"
			data-options=" disabled:true">同步至下级组织</div>
	</div>

	<div data-options="region:'center',split:false,border:false" style="overflow:hidden;">
		<iframe id="mainIframe" width="100%" height="100%" frameborder="0" scrolling="no" marginwidth="0" marginheight="0" style="box-sizing:border-box;"></iframe>
	</div>

</body>
</html>
